@charset "utf-8";
@import "common/reset";
@function n($px) {
    @return($px/2)
}

$color:#b20000;
.web {
    position: relative;
    height: 100%;
    font-size: "mincrosoft yahei";
    header {
        width: 100%;
        height: n(89px);
        background: $color;
        line-height: n(89px);
        .header_left {
            color: #ffffff;
            font-size: n(23px);
            margin-left: n(23px);
            .iconfont {
                font-size: n(23px);
            }
        }
        .header_right {
            margin-right: n(17px);
            .search {
                width: n(38px);
                height: n(38px);
                border-radius: 50%;
                border: n(2px) solid #ffffff;
                text-align: center;
                display: inline-block;
                vertical-align: middle;
                color: #ffffff;
                line-height: n(24px);
                .iconfont {
                    font-size: n(26px);
                }
            }
        }
        .header_center {
            width: n(264px);
            height: n(89px);
            margin: 0 auto;
            a {
                vertical-align: middle;
            }
            img {
                width: 100%;
            }
        }
    }
    main {
        width: 100%;
        overflow-y: scroll;
        position: absolute;
        top: n(89px);
        bottom: n(98px);
        .span img {
            width:100%;
            height:n(358px);
        }
        .slideshow_1 {
            opacity: .4;
            background: rgba(0, 0, 0, 1);
            width: 100%;
            height: n(104px);
            position: absolute;
            left: 0;
            top: n(254px);
            p {
                width: 100%;
                color: #dfd7d3;
            }
            .p_1 {
                height: n(74px);
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                font-size: n(26.63px);
                text-indent: n(2.4em);
                line-height: n(74px);
            }
            .p_2 {
                width: 100%;
                height: n(28px);
                font-size: n(17px);
                position: absolute;
                bottom: n(12px);
                left: n(29px);
                .span_1 {
                    width: n(22px);
                    height: n(13px);
                    border-radius: n(5px);
                    background-color: red;
                    display: inline-block;
                }
                .dot {
                    width: n(9px);
                    height: n(10px);
                    background: red;
                    border-radius:50%;
                    display: inline-block;
                }
            }
            .p_2 img {
                width: n(20px);
                height: n(17px);
            }
        }
//         心形图片
        .heart img{
            width:n(19px);
            height:n(17px);
        }
//      120
        .rt_1{
            font-size:n(18px);
        }
//      2小时前
        .rt_2{
            font-size:n(19px) ;
        }
//      案例观点
        .rt_3{
            font-size:n(21px) ;
        }
//      头像 
        .vai img{
            width:n(28px);
            height:n(27px);
        }
//      对话框
        .dialog img{
            width:n(19px);
            height:n(17px);
        }
    }
    footer {
        width: 100%;
        position: absolute;
        left: 0;
        bottom: 0;
        padding: n(11px) 0;
        border-top: n(2px) solid #bbb9ba;
        ul {
            li {
                width: 20%;
                text-align: center;
                position: relative;
                a {
                    color: #8b8b8b;
                    font-size: n(18px);
                }
                a.active {
                    color: $color;
                }
            }
            li:not(:last-child)::after {
                content: "";
                width: n(2px);
                height: n(50px);
                background: #ebebeb;
                display: inline-block;
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
            }
        }
    }
}